package com.example.databindingdemo.bindadapter;

import android.widget.ImageView;

import androidx.databinding.BindingAdapter;

import com.bumptech.glide.Glide;

public class ImageBindingAdapter {
    @BindingAdapter("netImage")
    public static void setNetImage(ImageView imageView,String imgUrl){
        Glide.with(imageView).load(imgUrl).into(imageView);
    }
}
